package com.vallis.service;

import java.util.List;

import com.vallis.model.Customer;

public interface CustomerService {
    Customer selectByPrimaryKey(Integer id);
    List<Customer> findAll();
    List<Customer> findMyAfter(int id);
    Customer login(String phone);
    int deleteByPrimaryKey(Integer id);
    int insert(Customer record);

    int insertSelective(Customer record);
    Customer findByCertNum(String cert);

    int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKey(Customer record);
}
